package org.wangchaocheng.simpleadmin.statemachine;

import com.alibaba.cola.statemachine.StateMachine;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.wangchaocheng.simpleadmin.statemachine.enums.EventEnum;
import org.wangchaocheng.simpleadmin.statemachine.enums.StateEnum;

@Data
@AllArgsConstructor
public class StateMachineContext {
    private String taskId;
    private StateMachine<StateEnum, EventEnum, StateMachineContext> stateMachine;
    private Boolean result;
}
